/**
 * 
 */
package com.haisen.lee.serviceimpl;

import java.net.URL;

import org.springframework.beans.factory.annotation.Autowired;
import org.w3c.dom.Node;

import com.haisen.lee.domain.FormDictionary;
import com.haisen.lee.service.IDomParserThread;
import com.haisen.lee.util.WriteJavaScriptFile;

/**
 * @author Haisen Lee
 * 
 */
public class ScriptDomParserThreadImpl implements IDomParserThread {

	@Autowired
	private WriteJavaScriptFile writeJavaScriptFile;
	private URL srcUrl;

	/**
	 * 
	 */
	public ScriptDomParserThreadImpl() {

	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.haisen.lee.service.IDomParserThread#setParserNode(org.w3c.dom.Node)
	 */
	@Override
	public void setParserNode(Node root) {

	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.haisen.lee.service.IDomParserThread#setUrl(java.net.URL)
	 */
	@Override
	public void setUrl(URL url) {
		this.srcUrl = url;
	}

	public void setWriteJavaScriptFile(WriteJavaScriptFile writeJavaScriptFile) {
		this.writeJavaScriptFile = writeJavaScriptFile;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Runnable#run()
	 */
	@Override
	public void run() {
		// TODO Auto-generated method stub

	}

	@Override
	public void setFormDictionary(FormDictionary formDictionary) {
		// TODO Auto-generated method stub
		
	}

}
